package com.abstractdemo.after;

/**
 * 活期账户
 */
public class CurrentAccount extends Account {
    public CurrentAccount() {
    }

    public CurrentAccount(String cardId, double money) {
        super(cardId,money);
    }

    @Override
    public double cure() {
        double result = getMoney() * 0.035;
        return result;
    }
}
